Skip to content

Fix curl install test: use POSIX-compatible set flags#1761

Open
yahanxing-stripe wants to merge 5 commits into
masterfrom
yx-0708-1
Open

Fix curl install test: use POSIX-compatible set flags#1761
yahanxing-stripe wants to merge 5 commits into
masterfrom
yx-0708-1

Conversation

@yahanxing-stripe

@yahanxing-stripe yahanxing-stripe commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

The install script used `set -euo pipefail` under `#!/bin/sh`, but
`pipefail` is a bash extension unsupported by dash (Ubuntu's /bin/sh),
causing the CI job to exit with code 2. Switch to `set -eu` which is
POSIX-compliant. Also initialize NEEDS_SOURCE=false to prevent unset
variable errors under `set -u`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
@yahanxing-stripe yahanxing-stripe requested a review from a team as a code owner July 8, 2026 22:53
yahanxing-stripe and others added 3 commits July 10, 2026 15:51
Temporary changes to validate the workflow on this branch:
- Add push trigger for yx-0708-1
- Use ${{ github.sha }} instead of master for install script URL

Will revert to master URL and remove push trigger before merge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
The notify.sh script requires PAGERDUTY_DEDUP_KEY, PAGERDUTY_SUMMARY,
PAGERDUTY_RESOLVE_SUMMARY, and PAGERDUTY_SEVERITY. These were missing
from the curl-install-test workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
- Remove push trigger (testing complete)
- Restore master URL for install script
- Hardcode DRYRUN=true until confirmed stable on schedule

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants